<script>
navigator.geolocation.getCurrentPosition(() => {}, (err) => {
  require('electron').ipcRenderer.sendToHost('message', err.message);
});
</script>
